QTableView {
    background-color: white;
    alternate-background-color: #f9f9f9;
    gridline-color: #e0e0e0;
    selection-background-color: #e5f3ff;
    selection-color: #000000;
    border: 1px solid #cccccc;
}
QTableView::item {
    padding: 4px;
}
QTableView::item:hover {
    background-color: #f0f0f0;
}
QTableView QHeaderView::section {
    background-color: #f5f5f5;
    border: none;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 6px;
    font-weight: bold;
}
QTableView QHeaderView::section:hover {
    background-color: #ebebeb;
}